﻿using System;

namespace ConfigManager.Core
{
    //                throw new ValidationException(string.Format(CultureInfo.InvariantCulture, 
    //                ResourceUtils.GetString("NA1089"), value.ToString()), ex);
    public class ParsingException : Exception
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="ParsingException"/> class.
        /// </summary>
        public ParsingException() 
            : base()
        {
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="ParsingException"/> class.
        /// </summary>
        /// <param name="message">The message.</param>
        public ParsingException(string message) 
            : base(message)
        {
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="ParsingException"/> class.
        /// </summary>
        /// <param name="message">The message.</param>
        /// <param name="innerException">The inner exception.</param>
        public ParsingException(string message, Exception innerException)
            : base(message, innerException)
        {
        }

    }
}
